package com.xzy.springboot;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@SpringBootApplication
@EnableHystrixDashboard
public class DashbordMain9001 {
    public static void main(String[] args) {

        SpringApplication.run(DashbordMain9001.class,args);
    }

    /*此服务为hystrix监控页面
    * 此服务不需要依赖其他微服务,其他微服务想要实现监控需要配置监控依赖配置*/

    /*使用步骤
    * 1 访问http://localhost:9001/hystrix
    * 2填写监控地址(http://localhost:8001/hystrix.stream)*/
}
